package day09;

/**
 * @author げっしょく
 * @date 2021/7/10
 */
public class Studen01 {
    private String name;
    private String id;
    private int age;

    public Studen01() {
    }

    public Studen01(String name, String id, int age) {
        this.name = name;
        this.id = id;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "学生姓名：'" + name + '\'' + ", 学生学号：'" + id + '\'' + ", 学生年龄：" + age ;
    }
}
